If additional areas got invalidated, don't try to add them to the paint
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 2 Mar 2009 15:45:53 +0000 (15:45 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 2 Mar 2009 15:45:53 +0000 (15:45 +0000)
commitd30ea97464a6a178fa4dbfb39c25678ae11d4b02
treebefd260b63f2e4b5b58eedc08020dade5458d238
parentf4090b5c847293e94186e13144d8ac5ce0f9db4d
If additional areas got invalidated, don't try to add them to the paint

        * gtk/gtktextview.c (gtk_text_view_paint): If additional areas got
        invalidated, don't try to add them to the paint region: in an expose
        handler, we cannot paint outside the area that was passed in, since
        drawing will be clipped. So stealing the update region from the
        window causes lost draws.
        Patch by Owen Taylor

svn path=/trunk/; revision=22442
ChangeLog
gtk/gtktextview.c